package com.qianfeng.day11.service;

import com.qianfeng.day11.dao.WearDegreeDAO;
import com.qianfeng.day11.entity.WearDegree;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WearDegreeService {
    @Resource
    private WearDegreeDAO wearDegreeDAO;

    public List<WearDegree> findAll(){
        return wearDegreeDAO.findAll();
    }
}
